package com.tangyuan.answer.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tangyuan.answer.mapper.AnswerObjectGradeMapper;
import com.tangyuan.answer.service.IAnswerObjectGradeService;
import com.tangyuan.model.AnswerObjectGrade;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AnswerObjectGradeServiceImpl extends ServiceImpl<AnswerObjectGradeMapper, AnswerObjectGrade> implements IAnswerObjectGradeService {
    @Autowired
    private AnswerObjectGradeMapper answerObjectGradeMapper;
    @Override
    public List<Long> getByAnswerObjectId(Long answerObjectId) {
        return answerObjectGradeMapper.getByAnswerObjectId(answerObjectId);
    }
}
